import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(ElementUI);
import './assets/css/index.scss'

//引入过滤器函数
import * as filters from "@/filters";
//循环注册全局过滤器
Object.keys(filters).forEach(key=>{
  Vue.filter(key, filters[key])
})
//引入权限文件
import './permission'
new Vue({
  router,
  store,
  el: '#app',
  render: h => h(App)
}).$mount('#app')
